package ch7;

import java.util.Arrays;

public class V {

	public static void main(String[] args) {
		int[] a2 = { 1, 5, 7, 4, 12, 66 };
		int k = 4;
		System.out.println(Arrays.toString(a2));
		for (int i = 0; i < a2.length; i++) {
			if (a2[i] == k) {
				// 找到要删除的
				for (int j = i; j < a2.length - 1; j++) {
					a2[j] = a2[j + 1];
				}
				a2[a2.length - 1] = -1;
				break;
			}
		}
		System.out.println(Arrays.toString(a2));
		int a, b, c;
		a = b = c = 100;
		if (a > 200)
			;
		{
			System.out.println("a >200");
		}
		/*
		 * while (a-- >= 1) ; { System.out.println(a); a--; }
		 */
		// 只要一个
		tuich: while (a >= 1) {
			while (b >= 1) {
				if ((a + b) % 13 == 0) {
					System.out.println(a + "," + b);
					break tuich;// 跳出两个循环
				}
				b--;
			}
			a--;
		}
	}

}
